package com.haipi.service.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import com.haipi.dao.IDemoDAO;
import com.haipi.model.DemoInfo;
import com.haipi.service.IDemoService;

@Component("demoService")
@Scope("singleton")
public class DemoServiceImpl implements IDemoService
{
    @Resource
    IDemoDAO demoDAO = null;
    
    public DemoInfo test(String prop)
    {
        return demoDAO.test(prop);
    }
    
}
